if there is a menu "テ、gテ①テュツ」" then exit createAddMenu
create menu "テ、gテ①テュツ」"
put createAddMenuItems() into menu "テ、gテ①テュツ」" with menuMsg createAddMenuMsgs()
end createAddMenu
function createAddMenuItems
RETURN "テ、gテュツ」テ噂テ液テ曳テ嘉 テ泳テ嘉姪 [" & RETURN
end createAddMenuItems
function createAddMenuMsgs
RETURN "menu"
end createAddMenuMsgs
on nStack
get line 1 to 3 of InputDialog ("テェVテ」Kテ厩テ運テ叡テ丑テァテ湘ェツィテ雲テ韻テ陰テ嘉ァテ碓","テ厩テ運テ叡テ丑テアツコ","テツェテテεォツコテテε影テ嘉ャテ益テ嘉・テ [テ曳テï」ソテゥgテウpテ竏妥テ暗ィテ催ァテ。テテ陛 uテツェテテεォツコテ vテï」ソテ丑テ嘉、テ叡テ丑テツオテニ津「竏ォテ竕・テツ「テ③", "テァテ湘ェツィ,テ鵜テ嘉嘉嘉ャテ瓜テ嘉」,,テツェテテεォツコ","ADDRESS,BUSINESS,FREE,SCHEDULE")
put it into form1
get line 1 of form1
put it into temp1
get line 2 of form1
put it into kakunin1
get line 3 of form1
put it into name1
if kakunin1 is "テ鵜テ嘉嘉嘉ャテ瓜テ嘉」" then
exit nStack
end if
if kakunin1 is "テァテ湘ェツィ" then
if temp1 is "ADDRESS" then
put name1 & ".ADD" into a
save stack "ADDRESS" as stack a
go to stack a
exit nStack
end if
if temp1 is "BUSINESS" then
put it & ".BUS" into b
save stack "BUSINESS" as stack b
go to stack b
exit nStack
end if
if temp1 is "FREE" then
put it & ".FRE" into f
save stack "FREE" as stack f
go to stack f
exit nStack
end if
if temp1 is "SCHEDULE" then
put it & ".SCH" into s
save stack "SCHEDULE" as stack s
go to stack s
exit nStack
end if
exit nStack
end if
if kakunin1 is "テツェテテεォツコ" then
get line 1 to 3 of InputDialog ("テェVテ」Kテ厩テ運テ叡テ丑テァテ湘ェツィテ雲テ韻テ陰テ嘉ァテ碓","テ厩テ運テ叡テ丑テアツコ","","テァテ湘ェツィ,テ鵜テ嘉嘉嘉ャテ瓜テ嘉」","MEMO,TIMETABLE")
put it into form2
get line 1 of form2
put it into temp2
get line 2 of form2
put it into kakunin2
get line 3 of form2
put it into name2
if kakunin2 is "テ鵜テ嘉嘉嘉ャテ瓜テ嘉」" then
exit nStack
end if
if kakunin2 is "テァテ湘ェツィ" then
if temp2 is "MEMO" then
put it & ".MEM" into m
save stack "MEMO" as stack m
go to stack m
exit nStack
end if
if temp2 is "TIMETABLE" then
put it & ".TIM" into t
save stack "TIMETABLE" as stack t
go to stack t
exit nStack
end if
exit nStack
end if
exit nStack
end if
end nStack
on oStack
answer "テツアテテε厩テ運テ叡テ丑テï」ソテッツャテ竏づニ津窶。テァ¥テツ「テ窶ケテマ\テテ津ツゥテ③" with "テテ陛ツ「" or "テツ「テツ「テツカ"
if it is "テツ「テツ「テツカ" then
exit oStack
end if
if it is "テテ陛ツ「" then
answer file "テ、Jテ竕 テ厩テ運テ叡テ丑テï」ソテォIテォï」ソテツオテニ津「竏ォテ竕・テツ「テ③" of type STAK
if it is empty then
exit oStack
end if
go to stack it
end if
end oStack
on cStack
domenu "テ厩テ運テ叡テ丑テï」ソテッツャテ竏づテ"
end cStack
on moveData
get line 1 to 4 of InputDialog ("テ映テ [テ運テ 竅テャテテ雲テ韻テ陰テ嘉ァテ碓","テ 竅テャテテ・竕・テ厩テ運テ叡テ丑,テ 竅テャテテェテ甘厩テ運テ叡テ丑","テ 竅テャテテ・竕・テ厩テ運テ叡テ丑テアツコ,テ 竅テャテテェテ甘厩テ運テ叡テ丑テアツコ","テ、Jテゥn,テ鵜テ嘉嘉嘉ャテ瓜テ嘉」","ADDRESS,BUSINESS")
put it into aa
get line 1 of aa
put it into bb
get line 2 of aa
put it into cc
get line 3 of aa
put it into dd
get line 4 of aa
put it into ee
if cc is "テ鵜テ嘉嘉嘉ャテ瓜テ嘉」" then
exit moveData
end if
if cc is "テ、Jテゥn" then
if bb is "ADDRESS" then
answer "テ烏テ丑テ厩テ益テ嘉・テ厩ティZティテ、テイ^テテε頴テ [テ姥テ嘉。テ嘉ャ4.0テ ツサテァ~テテε映テ [テ運テï」ソテ 竅テャテテツオテ窶ケテ竏妥③テテ甘テ偲ツオテツ「テ竕暗竏妥ツゥテ③" with "テテ陛ツ「" or "テツ「テツ「テツカ"
if it is "テツ「テツ「テツカ" then
exit moveData
end if
if it is "テテ陛ツ「" then
put "テ映テ [テ運テ 竅テャテティテテョトアテュテ"
lock screen
go to stack ee
if ee is empty then
tyudan
exit moveData
end if
go to cd 2
domenu "テェVテ」Kテ雨テ [テ栄"
go to stack dd
if dd is empty then
tyudan
exit moveData
end if
domenu "テォOテテε雨テ [テ栄"
put number of this cd into endCards
repeat with i = 2 to endCards
go to cd i
select text of bg fld "テゥテ テアツコ2"
put the selectedText into a
select text of bg fld "テ液テ嘉、テ卯テ永2"
put the selectedText into b
select text of bg fld "テェツエテッツ 2"
put the selectedText into c
select text of bg fld "テョNテウïャ2"
put the selectedText into d
select text of bg fld "テ・テ・テ「tテ・^2"
put the selectedText into e
select text of bg fld "テ、ツアテゥx2"
put the selectedText into f
select text of bg fld "テ英テ噂テ嘘テ嘉ャ2"
put the selectedText into g
select text of bg fld "テゥgテウpテ」@テゥテ2"
put the selectedText into h
select text of bg fld "テ瑛テ叡テ曳テ」ツォ2"
put the selectedText into i
select text of bg fld "IDテョ窶佚ァテ2"
put the selectedText into j
select text of bg fld "テ「テ氾ゥ窶禿アツコ2"
put the selectedText into k
select text of bg fld "テ液テ嘉、テ卯テ永4"
put the selectedText into l
select text of bg fld "テッテョティテェテアツコ2"
put the selectedText into m
select text of bg fld "テアï」ソテェEテアツコ2"
put the selectedText into n
select text of bg fld "テウXテッテキテョ窶佚ァテ2"
put the selectedText into o
select text of bg fld "ティZティテ、2"
put the selectedText into p
select text of bg fld "テャdテイb2"
put the selectedText into q
select text of bg fld "FAX2"
put the selectedText into r
select text of bg fld "テウXテッテキテョ窶佚ァテ4"
put the selectedText into s
select text of bg fld "ティZティテ、4"
put the selectedText into t
select text of bg fld "テャdテイb4"
put the selectedText into u
select text of bg fld "テ榎テ臼テ悦テ嘉」2"
put the selectedText into v
select text of bg fld "テ・gテォ窶2"
put the selectedText into w
select text of bg fld "FAX4"
put the selectedText into x
go to stack ee
add 1 to i
go to cd i
put a into bg fld "テゥテ テアツコ2"
put b into bg fld "テ液テ嘉、テ卯テ永2"
put c into bg fld "テェツエテッツ 2"
put d into bg fld "テョNテウïャ2"
put e into bg fld "テ・テ・テ「tテ・^2"
put f into bg fld "テ、ツアテゥx2"
put g into bg fld "テ英テ噂テ嘘テ嘉ャ2"
put h into bg fld "テゥgテウpテ」@テゥテ2"
put i into bg fld "テ瑛テ叡テ曳テ」ツォ2"
put j into bg fld "IDテョ窶佚ァテ2"
put k into bg fld "テ「テ氾ゥ窶禿アツコ2"
put l into bg fld "テ液テ嘉、テ卯テ永4"
put m into bg fld "テッテョティテェテアツコ2"
put n into bg fld "テアï」ソテェEテアツコ2"
put o into bg fld "テウXテッテキテョ窶佚ァテ2"
put p into bg fld "ティZティテ、2"
put q into bg fld "テャdテイb2"
put r into bg fld "FAX2"
put s into bg fld "テウXテッテキテョ窶佚ァテ4"
put t into bg fld "ティZティテ、4"
put u into bg fld "テャdテイb4"
put v into bg fld "テ榎テ臼テ悦テ嘉」2"
put w into bg fld "テ・gテォ窶2"
put x into bg fld "FAX4"
put "テォツクテァツー" & i & "テアテ。テ窶ケテ竕暗ィIテウマ\テツオテ窶ケテツオテホゥテ③"
subtract 1 from i
go to stack dd
end repeat
owari
exit moveData
end if
exit moveData
end if
if bb is "BUSINESS" then
answer "テ烏テ丑テ厩テ益テ嘉・テ厩テアツコテゥhテ、ツォテウテケテテε頴テ [テ姥テ嘉。テ嘉ャ2.0テ ツサテァ~テテε映テ [テ運テï」ソテ 竅テャテテツオテ窶ケテ竏妥③テテ甘テ偲ツオテツ「テ竕暗竏妥ツゥテ③" with "テテ陛ツ「" or "テツ「テツ「テツカ"
if it is "テツ「テツ「テツカ" then
exit moveData
end if
if it is "テテ陛ツ「" then
put "テ映テ [テ運テ 竅テャテティテテョトアテュテ"
lock screen
go to stack ee
if ee is empty then
tyudan
exit moveData
end if
go to cd 2
domenu "テェVテ」Kテ雨テ [テ栄"
go to stack dd
if dd is empty then
tyudan
exit moveData
end if
domenu "テォOテテε雨テ [テ栄"
put number of this cd into endCards
repeat with i = 2 to endCards
go to cd i
select text of bg fld "テゥテ テアツコ2"
put the selectedText into a
select text of bg fld "テ液テ嘉、テ卯テ永2"
put the selectedText into b
select text of bg fld "テェツエテッツ 2"
put the selectedText into c
select text of bg fld "テョNテウïャ2"
put the selectedText into d
select text of bg fld "テ瑛テ叡テ曳テ」ツォ2"
put the selectedText into i
select text of bg fld "IDテョ窶佚ァテ2"
put the selectedText into j
select text of bg fld "テ「テ氾ゥ窶禿アツコ2"
put the selectedText into k
select text of bg fld "テ液テ嘉、テ卯テ永4"
put the selectedText into l
select text of bg fld "テッテョティテェテアツコ2"
put the selectedText into m
select text of bg fld "テアï」ソテェEテアツコ2"
put the selectedText into n
select text of bg fld "テウXテッテキテョ窶佚ァテ2"
put the selectedText into o
select text of bg fld "ティZティテ、2"
put the selectedText into p
select text of bg fld "テャdテイb2"
put the selectedText into q
select text of bg fld "テャdテイb4"
put the selectedText into r
select text of bg fld "FAX2"
put the selectedText into s
select text of bg fld "FAX4"
put the selectedText into t
select text of bg fld "テャヒ凖ゥテサ2"
put the selectedText into u
select text of bg fld "ティテ催ィテ、2"
put the selectedText into v
select text of bg fld "テョトアテァl"
put the selectedText into w
go to stack ee
add 1 to i
go to cd i
put a into bg fld "テゥテ テアツコ2"
put b into bg fld "テ液テ嘉、テ卯テ永2"
put c into bg fld "テェツエテッツ 2"
put d into bg fld "テョNテウïャ2"
put i into bg fld "テ瑛テ叡テ曳テ」ツォ2"
put j into bg fld "IDテョ窶佚ァテ2"
put k into bg fld "テ「テ氾ゥ窶禿アツコ2"
put l into bg fld "テ液テ嘉、テ卯テ永4"
put m into bg fld "テッテョティテェテアツコ2"
put n into bg fld "テアï」ソテェEテアツコ2"
put o into bg fld "テウXテッテキテョ窶佚ァテ2"
put p into bg fld "ティZティテ、2"
put q into bg fld "テャdテイb2"
put r into bg fld "テャdテイb4"
put s into bg fld "FAX2"
put t into bg fld "FAX4"
put u into bg fld "テャヒ凖ゥテサ2"
put v into bg fld "ティテ催ィテ、2"
put w into bg fld "テョトアテァl"
put "テォツクテァツー" & i & "テアテ。テ窶ケテ竕暗ィIテウマ\テツオテ窶ケテツオテホゥテ③"
subtract 1 from i
go to stack dd
end repeat
owari
exit moveData
end if
exit moveData
end if
exit moveData
end if
end moveData
on owari
go to stack "テ厭テ叡テ丑テゥテ凝ュ窶 Pro"
go to cd "テ曳テ叡テ益"
unlock screen
answer "テ、テテウマ\テツオテ窶ケテツオテホゥテ③"
end owari
on tyudan
go to stack "テ厭テ叡テ丑テゥテ凝ュ窶 Pro"
go to cd "テ曳テ叡テ益"
unlock screen
answer "テ烏テ嘉「テ [テ邃「テョ竕 テェ竏づツオテ窶ケテツオテホゥテ③"
end tyudan
on verUp
get line 1 to 2 of InputDialog ("テ頴テ [テ姥テ嘉。テ嘉ャテ陰テ叡テ益テ雲テ韻テ陰テ嘉ァテ碓","","","テ、Jテゥn,テ鵜テ嘉嘉嘉ャテ瓜テ嘉」","TYPE P-B,TYPE P-F,TYPE P-S,OPTION TC")
put it into a
get line 1 of a
put it into b
get line 2 of a
put it into c
if c is "テ鵜テ嘉嘉嘉ャテ瓜テ嘉」" then
exit verUp
end if
if c is "テ、Jテゥn" then
answer file "テ英テ叡テ荏テ液テ院テ韻テ嘉」テテ陛ツォテツアテ竕暗竏妥ツゥテ③" of type STAK
if it is empty then
exit verUp
end if
put it into patch
put "ティテテョトアテュテ"
wait 3 secs
put "テァXテェVテュテ"
lock screen
go to stack patch
bigin
exit verUp
end if
end verUp
on oHelp
go to stack "テ駅テ嘉」テ益" in a new window
end oHelp
on endPim
domenu "HyperCardティIテウマ\"
end endPim
on cancelIt
domenu "テゥテ甘テ凝ィツ。テツオ"
end cancelIt
on cutIt
domenu "テ雨テ叡テ曳"
end cutIt
on copyIt
domenu "テ嘘テ鋭テ ["
end copyIt
on pasteIt
domenu "テ謁テ [テ厩テ曳"
end pasteIt
on deleteIt
domenu "ティツ。テ」テゥ"
end deleteIt
on nCard
domenu "テェVテ」Kテ雨テ [テ栄"
end nCard
on dCard
domenu "テ雨テ [テ栄テァテ古ィテコ"
end dCard
on dSpace
domenu "テ厩テ運テ叡テ丑テェテテウテケ"
end dSpace
on msg
show msg box
end msg
on calculator
go to stack "テ迂テ益テ鰻テ嘉。テ嘉ャ" in a new window
end calculator
on clock
go to stack "テ迂テ益テ鰻テ嘉。テ嘉ャ" in a new window
go to cd 2
end clock
on mail
go to stack "テ迂テ益テ鰻テ嘉。テ嘉ャ" in a new window
go to cd 3
end mail
on oHome
go to stack home
end oHome
on menu
answer "テツアテテε厩テ運テ叡テ丑テï」ソテッツャテ竏づニ津窶。テァ¥テツ「テ窶ケテマ\テテ津ツゥテ③" with "テテ陛ツ「" or "テツ「テツ「テツカ"